package com.yi.mall.common.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 支付记录表
 * </p>
 *
 * @author zzy
 * @since 2025-07-30
 */
@Getter
@Setter
@TableName("pay_log")
public class PayLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 支付流水号
     */
      @TableId("id")
    private String id;

    /**
     * 订单编号
     */
    @TableField("order_id")
    private String orderId;

    /**
     * 支付金额
     */
    @TableField("amount")
    private Double amount;

    /**
     * 提交时间
     */
    @TableField(fill = FieldFill.INSERT )
    private LocalDateTime createTime;
}
